package com.service.impl;

import java.util.List;

import com.base.PageBean;
import com.base.UserBean;
import com.service.PMWithdrawalService;
import com.bean.DrawMoneyRequestRecord;
import com.dao.DrawMoneyRequestRecordDao;
public class PMWithdrawalServiceImpl implements PMWithdrawalService {
	
	DrawMoneyRequestRecordDao dao;

	@Override
	public List<DrawMoneyRequestRecord> querydrawmoney(
			DrawMoneyRequestRecord object, UserBean userBean, PageBean page) {
		List<DrawMoneyRequestRecord> list = dao.querydrawmoney((DrawMoneyRequestRecord) object,userBean, page);
		if(list==null || list.size()==0)
			return null;
		return list;
	}

	@Override
	public String update(DrawMoneyRequestRecord record) {
		return dao.update(record);
	}

	@Override
	public DrawMoneyRequestRecord get(Long id) {
		return dao.get(id);
	}

	public DrawMoneyRequestRecordDao getDao() {
		return dao;
	}

	public void setDao(DrawMoneyRequestRecordDao dao) {
		this.dao = dao;
	}

}
